<%@ page contentType="text/html;charset=utf-8"%>
<%@ page
	import="java.io.*, java.sql.*, java.util.*, java.text.*, napal.*, util.*, napal.*"%>
<%@ page import="org.apache.ibatis.*"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
	request.setCharacterEncoding("utf-8");
	String rank = (String) session.getAttribute("userRank");
	String mu = (String)session.getAttribute("managerID");
	String uu = (String)session.getAttribute("userID");
%>

    <div class="navbar">
 		 <div class="navbar-inner">
	
		<a class="brand" href="Main.jsp?id=<%if (mu != null) {%>
		<%=mu%>
		<%} else if (uu != null) {%>
		<%=uu%>
		<%}%>">Home</a>
		<ul class="nav">
			<%
			
			if(rank.equals("학과장")){
				%>
				<li class="divider-vertical"  style="float: left; padding:10px 15px 10px;"><a href="./RentalApp_t.jsp" >대여승인</a></li>
				<li class="divider-vertical"  style="float: left; padding:10px 15px 10px;"><a href="./OverdueCheck.jsp" >사용자연체조회</a></li>
				<li class="divider-vertical" style="float: left; padding:10px 15px 10px;"><a href="./Damage.jsp">사용자손분실조회</a></li>
				<%
			}
				if (!rank.equals("휴학생")) {
			%>
			<li class="divider-vertical"  style="float: left; padding:10px 15px 10px;"><a href="./RentalList_s.jsp">대여신청</a></li>
			<%
				}
			%>
			<li class="divider-vertical"  style="float: left; padding:10px 15px 10px;"><a href="./RentalHistory_s.jsp">대여이력조회</a></li>
			<li class="divider-vertical"  style="float: left; padding:10px 15px 10px;"><a href="./BoardList.jsp">게시판</a></li>
		</ul>

	</div>
</div>


